On the Expressive Power of Query Languages for Matrices
نویسندگان
چکیده
We investigate the expressive power of MATLANG, a formal language for matrix manipulation based on common matrix operations and linear algebra. The language can be extended with the operation inv of inverting a matrix. In MATLANG + inv we can compute the transitive closure of directed graphs, whereas we show that this is not possible without inversion. Indeed we show that the basic language can be simulated in the relational algebra with arithmetic operations, grouping, and summation. We also consider an operation eigen for diagonalizing a matrix, which is defined so that different eigenvectors returned for a same eigenvalue are orthogonal. We show that inv can be expressed in MATLANG + eigen. We put forward the open question whether there are boolean queries about matrices, or generic queries about graphs, expressible in MATLANG + eigen but not in MATLANG + inv. The evaluation problem for MATLANG + eigen is shown to be complete for the complexity class ∃R.
منابع مشابه
On the Expressive Power of Graphical Query Languages
In this paper a comparison is presented between the expressive power of generic graphical mechanisms and the various classes of queries (first-order, fixpoint, programming). A precise evaluation of the expressive power of the languages based on such mechanisms (i.e.purely graphical query languages) is shown. Moreover, an informal analysis is provided relatively to the more general class of the ...
متن کاملOn the Kolmogorov Expressive Power of Boolean Query Languages
We address the question \How much of the information stored in a given database can be retrieved by all Boolean queries in a given query language?". In order to answer it we develop a Kolmogorov complexity based measure of expressive power of Boolean query languages over nite structures. This turns the above informal question into a precisely deened mathematical one. This notion gives a meaning...
متن کاملONTOLOGY QUERY LANGUAGES FOR THE SEMANTIC WEB: A PERFORMANCE EVALUATION by
Ontology languages and corresponding query languages play key roles for representing and processing information about the real world for the emerging Semantic Web. Efforts have been made to develop various ontology languages. Each ontology language provides different expressive power and also computational complexity for reasoning. Ontology query languages were developed to query the informatio...
متن کاملA Visual Approach to Multilinear Recursion1
The problem of expressing complex queries in a friendly way is particularly relevant due to the growing diffusion of databases. However, the most significant proposals for extending the expressive power of the relational query languages are based on the logical paradigm. In particular, an extension of the Horn clause queries, i.e. the so-called stratified Datalog, yields stratified queries, tha...
متن کاملOntology Query Languages for the Semantic Web: A Performance Evaluation
Ontology languages and their corresponding query languages play key roles for representing and processing information about the real world for the emerging Semantic Web. Efforts have been made to develop various ontology languages. Each ontology language provides different expressive power and also computational complexity for reasoning. Ontology query languages were developed to query the info...
متن کاملQBD * : a Graphical Query Language with Recursion 1
One of the main problems in the database area is to define query languages characterized by both high expressive power and ease of use. In this paper, we propose a system to query databases, using diagrams as a standard user interface. The system, called Query by Diagram* (QBD*), makes use of a conceptual data model, a query language on this model and a graphical user interface. The conceptual ...
متن کامل